package com.adms.domain;

import com.adms.domain.Grid;
import com.adms.domain.GridExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GridMapper {
	
//	
	Grid selectByPrimaryKeyWithRelativeUsers(Integer gridId);
	void deleteBatch(Integer[] gridIds);
//	
	
    long countByExample(GridExample example);

    int deleteByExample(GridExample example);

    int deleteByPrimaryKey(Integer gridId);

    int insert(Grid record);

    int insertSelective(Grid record);

    List<Grid> selectByExample(GridExample example);

    Grid selectByPrimaryKey(Integer gridId);

    int updateByExampleSelective(@Param("record") Grid record, @Param("example") GridExample example);

    int updateByExample(@Param("record") Grid record, @Param("example") GridExample example);

    int updateByPrimaryKeySelective(Grid record);

    int updateByPrimaryKey(Grid record);
}